set user view count method