What was the population of the town in 2010 that includes Beatties, New Hampshire?