You can use count. It is in the doc: https://developers.google.com/appengine/docs/python/datastore/gqlqueryclass?hl=nl#GqlQuery_count
Appengine datastore Row count on an entity using GQL
-
14-01-2022 - |
Question
Is there a way to get total number of rows in a Google App Engine Datastore Table (Entity) using GQL ?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow