CSHARP-1037: Use int? consistently for optional MaxBatchCount and similar properties.