Fix up count limit to account for specified size.