Vocabulary is the number of words you know. Learners have an Active Vocabulary which are the words they use when they speak or write; they also have a Passive Vocabulary which are the words they may well understand but do not actively use.
For more, see Vocabulary and TEFL.