change logic for counting assignments for component grades