Added view counter
Automatically rewritten for npm.