Validates that the size of the collection property is within the specified min and max range.
the maximum allowed size (inclusive)
the minimum allowed size (inclusive)