view count schduler logic issue