count clicks and views