class counteroverall_total class attribute def __init__(self)self my_total data attribute def increment(self)counter overall_total counter overall_total self my_total self my_total counter( counter( increment( increment( increment( my_total __class__ overall_total my_total __class__ overall_total