Investigating Backpropagation Alternatives when Learning to Dynamically Count with Recurrent Neural Networks