Distinguish row count and sampled count so that sampling is possible.