select count(*) from cr_items where item_id = :photo_id