header view count on swipe dismiss listener