select count(*) from ec_subsubcategories where subcategory_id=:subcategory_id and sort_key = :sort_key