updating nbwordcount