add clear/count orphan icons functions