+2  A: 

len(db.model_to_protobuf(entity).Encode())

Drew Sears
Although you might consider that the "size of an entity" should include the size of all its index entries. Depends what you're using the size for.
Steve Jessop
+1  A: 

Have you looked at the "Datastore Statistics" page in the Admin Console of your app? It tells you all kinds of things about your entities, though they are estimates/averages, not exact numbers.

Peter Recore