<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_count(self, cnt):
 """ Sets 'count' parameter used to define the number of \ tweets to return per page. Maximum and default value is 100 :param cnt: Integer containing the number of tweets per \ page within a range of 1 to 100 :raises: TwitterSearchException """


        if isinstance(cnt, int) and cnt > 0 and cnt <= 100:
            self.arguments.update({'count': '%s' % cnt})
        else:
            raise TwitterSearchException(1004)