def soft_activate_and_get_unread_count(self, stream: str='Denmark', topic: str='foo') -> int:
    stream_narrow = self._get_home_page(stream=stream, topic=topic)
    page_params = self._get_page_params(stream_narrow)
    return page_params['unread_msgs']['count']
def soft_activate_and_get_unread_count(self, stream: str='Denmark', topic: str='foo') -> int:
    stream_narrow = self._get_home_page(stream=stream, topic=topic)
    page_params = self._get_page_params(stream_narrow)
    return page_params['unread_msgs']['count']