LSTMs can Perform Dynamic Counting