original_string: public function get_count_discussions_in_forum(forum_entity $forum) : ?int {
          return $this->get_db()->count_records(self::TABLE, [
              'forum' => $forum->get_id()]);
      }
code: public function get_count_discussions_in_forum(forum_entity $forum) : ?int {
          return $this->get_db()->count_records(self::TABLE, [
              'forum' => $forum->get_id()]);
      }
code_tokens: public function get_count_discussions_in_forum ( forum_entity $ forum ) : ? int { return $ this -> get_db ( ) -> count_records ( self :: TABLE , [ 'forum' => $ forum -> get_id ( ) ] ) ; }
docstring: Get the count of the discussions in the specified forum.
  
  @param   forum_entity $forum
  @return  int
docstring_tokens: Get the count of the discussions in the specified forum .