def object_counter():
class_names = list(dingos_class_map.keys())<EOL>class_names.sort()<EOL>result = []<EOL>for class_name in class_names:<EOL><INDENT>result.append((class_name, len(dingos_class_map[class_name].objects.all())))<EOL><DEDENT>return result<EOL>
Returns a tuple that contains counts of how many objects of each model
defined in dingos.models are in the database.