new_contents: # Sample query for counting all the Person entries between dates.
  
  query = Person.all(filter_expired=False).filter(
      'entry_date >=', datetime.datetime(2013, 1, 1, 0, 0, 0)).filter(
      'entry_date <', datetime.datetime(2014, 1, 1, 0, 0, 0))
  count = 0
  while True:
      current_count = query.count()
      if current_count == 0:
          break
      count += current_count
      query.with_cursor(query.cursor())
  print '# of persons =', count
  
subject: Add sample query count_all_persons.py