Adding function in tweet.js to make a counter for comments