Update README.md

The example uses the generator function (count) where it should be using the iterator (counter.next().value
Merge pull request #518 from talkingtab/patch-1

Fix the use of count.next() in README.md