hooking up views counter