Adding a progress bar at the top of the page to track the number of words written