added check for view count data