That’s an interesting quote you got there. Let’s look at the surrounding sentences, shall we? Emphasis mine.
> But there’s something unsatisfying about declaring the size of the set of real numbers to be the same “infinity” used to describe the size of the natural numbers. To see why, pick any two numbers, like 3 and 7. Between those two numbers there will always be finitely many natural numbers.
> Remarkably enough, no matter how close any two distinct real numbers are to each other, there will always be infinitely many real numbers in between. By itself this doesn’t mean that the sets of real numbers and natural numbers have different sizes, but it does suggest that there is something fundamentally different about these two infinite sets that warrants further investigation.
So no, as rightfully pointed by other commenters, the article implies that density somewhat indicates that two cardinalities which is straight wrong as the rational are dense in the natural yet of the same cardinality. They are even dense in R which entirely defeat the point of the analogy. Density and cardinality are not related at all.