You are missing that in these local elections voters have more than one vote (two in one of the wards and three in the other). The number of ballot papers returned, representing the number of individual voters, was 1471 in one the case and 2501 in the other. This is the figure to be used to calculate how many voters cast one for their votes for the socialist party candidate.