From the blog post Introducing Stack Overflow Trends (emphasis added):
Today, we’re introducing the Stack Overflow Trends tool to track interest in programming languages and technologies, based on the number of Stack Overflow questions asked per month.
So yes, it is based on the number of questions asked. No, this is not a perfect indicator of the popularity of a particular technology. It's really only measuring what people are asking about on Stack Overflow, which probably has a pretty strong correlation with what people are using, but no measure is perfect. (You might get a better correlation if you looked at Google searches, or Stack Overflow views, as the Stack Overflow data team does in recent blog posts, but questions asked is probably a pretty good surrogate.)
The low occurrence of oop and functional-programming questions probably has more to do with the fact that people just don't use some generic tags as much as language tags than with the popularity of those paradigms. (I don't see much use of the procedural-programming tag at all.) It's probably more meaningful to compare activity in specific OOP and functional programming language tags than in those two generic tags themselves.