fixed parent selection for counts