def _add_count_to_params_if_needed(self, params):
        """
        :type params: dict[str, str]

        :rtype: None
        """

        if self.count is not None:
            params[self.PARAM_COUNT] = str(self.count)
def _add_count_to_params_if_needed ( self , params ) : if self . count is not None : params [ self . PARAM_COUNT ] = str ( self . count )
:type params: dict[str, str]

        :rtype: None