add support for view count