I am looking for a way to get the number of patents granted and the number of patents filed by each listed Indian company for the past ten years. Is there any website or database that provides the same?
Google "patent search" or "patent search India" and you'll find numerous services are available for answering your question. Libraries may well be happy to run the search on a suitable database for you. I recommend Derwent Innovation on Clarivate, but there are many other services such as Intellectual Property India around as well.