creating helper method for #upvote_counter