public function getNumUsersForAuthor(int $authorId) : int { $num = $this->db->cell('SELECT count(userid) FROM hull_blog_author_owners WHERE authorid = ?', $authorId); if ($num > 0) { return $num; } return 0; }