The masses of all of the Roman coins in a museum are recorded in the histogram below. 126 of the coins each weigh between 8 g and 17 g. Work out how many Roman coins are in the museum's collection in total.​