code: def bedrooms(self):
          
          try:
              if self._data_from_search:
                  info = self._data_from_search.find(
                      'ul', {"class": "info"}).text
                  s = info.split('|')
                  nb = s[1].strip()
                  return int(nb.split()[0])
              else:
                  div = self._ad_page_content.find(
                      'div', {'id': 'smi-summary-items'})
                  spans = div.find_all('span', {'class': 'header_text'})
                  for span in spans:
                      # print(span.text)
                      if 'bed' in span.text.lower():
                          return int(''.join([n for n in span.text if n.isdigit()]))
                  return
          except Exception as e:
              if self._debug:
                  logging.error(
                      "Error getting bedrooms. Error message: " + e.args[0])
              return 'N/A'
docs: This method gets the number of bedrooms.
          :return: