The proceedings before every judge in making a recount of the precincts assigned to him or her, as to the appointment of the elections official and persons necessary to be assistants of the court in making it, shall be the same as in contested elections. Section 16503 applies to the recount.