The returns made by the district election officers of the votes cast at primaries shall be received by the respective boards of elections, and tabulated and computed by them, and their returns to the Supervisor of Elections tabulated and computed by him in the manner provided by chapter 23 of this title, insofar as it is applicable to primaries.