An ounce is a unit of weight which is approximately equal to 28  grams. One gallon is equal to 128 ounces so there are 640 ounces in  5 gallons of water.
The first U.S. railroad to use a steam locomotive in revenue service was the South Carolina Railroad. It opened on Christmas Day 1830 using the Best Friend of Charleston steam locomotive on six miles of track in Charleston, South Carolina.
The first steam locomotive was built by Richard Trevithick; it first ran on 21 February 1804, although it was some years before steam locomotive design became economically practical. The first commercial use of a steam locomotive was Salamanca on the narrow gauge Middleton Railway in Leeds in 1812.