Can a Recurrent Neural Network Learn to Count Things?