move feedcount in its own file