def count_number_of_lines():
with open('/cxldata/datasets/project/mbox-short.txt') as f:
count = 0
for line in f:
line = line.rstrip() # Remove new line characters from right
if line.startswith('Subject:'):
count = count + 1
return count
still why I am getting the error that name count_number_of_lines is not defined?