Hi Csitti,
yes it´s allowed. Could be that there was no power plant in town. It will be automatically build if coal request has been started. It counts correctly because station was assigned to claimed town while building. In fact to rename a built station didn´t works.