As you may already know that there's no Count like functionality available in Azure Tables. In order to get the total number of entities (rows) in a Partition (or a Table), you have to fetch all entities.
You can reduce the response payload by using a technique called Query Projection.
https://stackoverflow.com/questions/38977896/count-rows-within-partition-in-azure-table-storage