select count(*) as portal_count from portals where package_id = :package_id