Density is mass divided by volume. If the density of a black hole is infinite, the volume must be zero.
The event horizon is an arbitrary definition for the size of a black hole.