Add word counting script