All but two counties in Maine showed a population rise in 2017 over the previous year, with more people moving in contributing to most of the increases, according to local estimates released Thursday by the U.S. Census Bureau. Northern Maine counties including Aroostook, Washington, Somerset and Penobscot grew by only a few hundred people compared to bigger gains in York and Cumberland in the south, and Bangor’s population nudged up.