Pattern place-learn to count