Associate counters with Django model records.