Atoms are typically spaced about 0.2 nm apart, which means that there are 5 nm in 1 micrometer (1nm = 0.001 micrometer).
To convert inches to micrometres we can use the conversion factor 1 inch = 25.4 micrometres.
So 4.97 inches is equal to 4.97 x 25.4 = 126.988 micrometres
And if we divide 126.988 micrometres by 5 micrometres we get 25.3976
So, there would be 25 atoms in a line 4.97 inches long.