Added function for counting retweets