Added a counter to count number of stop words