parameters: (self, max_count)
docstring: Sets the number of largest elements to be found.
docstring_summary: Sets the number of largest elements to be found.
docstring_tokens: Sets the number of largest elements to be found .
function: def max_count(self, max_count):
          """Sets the number of largest elements to be found.
          """
          if int(max_count) < 1:
              raise ValueError('The `max_count` must be > 0.')
  
          self._internal.set_max_count(int(max_count))
function_tokens: def max_count ( self , max_count ) : if int ( max_count ) < 1 : raise ValueError ( 'The `max_count` must be > 0.' ) self . _internal . set_max_count ( int ( max_count ) )