Added function to count all the words written today