Fix star counting.