Calling stat API view count