update
count number of tokens
update