Update README.md

The example uses the generator function (count) where it should be using the iterator (counter.next().value