Slightly simplify map result size computation.