fname = 'design.aux'
my_string = 'design.'
k=0
with open(fname, 'r') as f:
   for line in f:
       words = line.split()
       for i in words:
           if(i==my_string):
               k=k+1
print("Occurrences of the word:")
print(k)

64202d7ef32ce62bba9d87aa780ca17cbfa0603b
<mask token>

<mask token>
with open(fname, 'r') as f:
    for line in f:
        words = line.split()
        for i in words:
            if i == my_string:
                k = k + 1
print('Occurrences of the word:')
print(k)

fname = 'design.aux'
my_string = 'design.'
k = 0
with open(fname, 'r') as f:
    for line in f:
        words = line.split()
        for i in words:
            if i == my_string:
                k = k + 1
print('Occurrences of the word:')
print(k)

fname = 'design.aux'
my_string = 'design.'
k=0
with open(fname, 'r') as f:
   for line in f:
       words = line.split()
       for i in words:
           if(i==my_string):
               k=k+1
print("Occurrences of the word:")
print(k)
