class BMENUS(baseMENUS):

    def __init__(self):
        super(BMENUS, self).__init__()
allmenus = [AMENUS() for i in range(0, 3)] + [BMENUS() for i in range(0, 4)]
Python: How to count the number of objects created?