view count issue in counter