Hello_tm example

I’m having some troubles running the hello_tm.py example in nupic. Can someone tell me where the count() in line 88 is coming from?

Thanks,
Christian

Nevermind. My bad, I had the “import itertools” commented out.