Word counting in markdown