Station knows how many trains it has