q1:count words have been seen or not and vocab_lookup
return uid for word