Endpoint to count the number of deals and tickets

Is there a similar endpoint like this:

https://api.hubapi.com/contacts/v1/contacts/statistics?hapikey=demo

described here:

https://legacydocs.hubspot.com/docs/methods/contacts/get-contacts-statistics

to count the number of deals and tickets (or other objects)?

Hi @EReis ,
Unfortunately this statistics api is just for contacts .although you can use get all tickets api in code and then execute the result through for loop and then store the count in any variable.

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.

Thanks a lot!