class Cs:
count = 0
def __init__(self):
Cs.count = Cs.count + 1
@classmethod
def getCount(cls):
return Cs.count
i1 = Cs()
i2 = Cs()
i3 = Cs()
i4 = Cs()
print(Cs.getCount())
Y2xhc3MgQ3M6CiAgICBjb3VudCA9IDAKICAgIGRlZiBfX2luaXRfXyhzZWxmKToKICAgICAgICBDcy5jb3VudCA9IENzLmNvdW50ICsgMQogICAgQGNsYXNzbWV0aG9kCiAgICBkZWYgZ2V0Q291bnQoY2xzKToKICAgICAgICByZXR1cm4gQ3MuY291bnQKaTEgPSBDcygpCmkyID0gQ3MoKQppMyA9IENzKCkKaTQgPSBDcygpCnByaW50KENzLmdldENvdW50KCkpCg==