Update for couting words