# Counting objects

class Item:
    counter = 0

    def __init__(self):
        Item.counter += 1
        self.counter = Item.counter

    def my_number(self):
        return self.counter

for _ in range(5):
    objectN = Item()
    print('My number is ' + str(
        objectN.my_number()
    ))
ba0a665f3be2466801842b8ded38b972dd6e91fb
class Item:
    <mask token>
    <mask token>

    def my_number(self):
        return self.counter


<mask token>

class Item:
    <mask token>

    def __init__(self):
        Item.counter += 1
        self.counter = Item.counter

    def my_number(self):
        return self.counter


<mask token>

class Item:
    counter = 0

    def __init__(self):
        Item.counter += 1
        self.counter = Item.counter

    def my_number(self):
        return self.counter


<mask token>

class Item:
    counter = 0

    def __init__(self):
        Item.counter += 1
        self.counter = Item.counter

    def my_number(self):
        return self.counter


for _ in range(5):
    objectN = Item()
    print('My number is ' + str(objectN.my_number()))

# Counting objects

class Item:
    counter = 0

    def __init__(self):
        Item.counter += 1
        self.counter = Item.counter

    def my_number(self):
        return self.counter

for _ in range(5):
    objectN = Item()
    print('My number is ' + str(
        objectN.my_number()
    ))