What is a good way to get the number of query result when using NDB on google app engine?
Attempted this:
query = NDB_Model.query(NDB_Model.some_property == some_value)
if len(query) > 0: # <-- this throws and exception
entity = query[0]
I apologize that this is probably a very simple question, but it was not clear to me from the docs.