Two-dimensional versus three-dimensional cell counting