In my experience, in everyday conversation, we do not often use 'approximate' as a verb. I would say, "It was hard to guess the number of the trees". OR "It was hard to guess the approximate number of trees". However, like your teacher said, you can use the word 'approximate' as a verb. I think in professions (medical, law, technical jobs) "approximate" is used as a verb more often.