class Person: population = 0 def __init__(self,name): self.name = name print "initializing %s" % self.name Person.population += 1 def howmany(self): print 'there are: ' + str(Person.population)