added count, add and enter to train