added count for scroll
Added count for scrolling