Hi @Fazal Khan Z?,
Best is to prefer the REST API over the Python SDK, as the API is fully supported. Which endpoints to use depends on what you want to achieve. You can do things like count input datasets, flows, recipes, and output objects, and much more. However, it is not possible to count the number of data records that are processed by these objects. I encourage you to head over to the Ideas section of the Community to let us know more about this use case as feedback for the product team!
Cheers,
Nathanael