US Coins are measured in metric units, so it's necessary to convert:
- A nickel is 21.21 mm
- Very precisely, a US mile is 1.609344 km. There are 1000 meters in a km and 1000 mm in a meter so a US mile is 1,609,344 mm long (multiply by a million)
- Divide 1,609,344 by the diameter of one nickel: 1609344 / 21.21 = 75865.66
I.e. you'd need 75866 nickels to the next whole number of coins.