adding view count feature