Yes, apples and oranges.
But as far as the count-lens-elements-to-find-out-how-good-a-lens-is thingy goes, a good illustration of the fact that it is not true.
And it isn't.
The number of elements, even within a "design family", does not say anything about performance. You quite simply can't say that a lens with more elements is better than one with fewer, or vice versa.
The 100 mm Planar, for instance, has five elements. Two less than the 80 mm Planar.
So would that make the 80 mm Planar the better of the two? I think not many people will think so.
The same with the 40 mm Distagons: numbers of lens elements tell us nothing about quality.
The IF lens, being just that, even is a different concept, compared to the older one. That the numbers of elements in the two lenses are even this close is coincidental. It could have been different, either way.
That "more elements = better lens" statement may be well accepted. I don't know.
But if it is, it is yet one more photo myth that has to be debunked and eradicated.