<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def search(self, category, term='', index=0, count=100):
 """Search for an item in a category. Args: category (str):
 The search category to use. Standard Sonos search categories are 'artists', 'albums', 'tracks', 'playlists', 'genres', 'stations', 'tags'. Not all are available for each music service. Call available_search_categories for a list for this service. term (str):
 The term to search for. index (int):
 The starting index. Default 0. count (int):
 The maximum number of items to return. Default 100. Returns: ~collections.OrderedDict: The search results, or `None`. See also: The Sonos `search API <http://musicpartners.sonos.com/node/86>`_ """

        search_category = self._get_search_prefix_map().get(category, None)
        if search_category is None:
            raise MusicServiceException(
                "%s does not support the '%s' search category" % (
                    self.service_name, category))

        response = self.soap_client.call(
            'search',
            [
                ('id', search_category), ('term', term), ('index', index),
                ('count', count)])

        return parse_response(self, response, category)