Add views counter to collections
Merge pull request #131 from robotmay/collection-views-counter

Add a views counter to collections and a couple of bugfixes.