I am trying to create a Python code that will count the number of rows in a text file. However, it will not recognize the for statement as it gives me errors on the indentation below it.

```
#*********************end of sec 1*****************************
item=open("back.txt","r")
i=0
countlist=[line.strip() for line in item]#seperate lines
        i=1+i
print i
item.close()

```