Getting message counts and show more button working