select count(*) from calendars where package_id= :package_id and owner_id= :user_id and private_p = 't'