If the court shall determine after hearing that the requirements of sections one and two of this article have been met, the petitioners shall provide bond in penalty prescribed by the court, with good and sufficient surety thereon, conditioned to pay all costs of taking a census, determining the qualification of electors, holding an election and ascertaining the results thereof, in the event a majority of the qualified electors vote against incorporation; and thereupon the court shall fix a day or days for taking a census of the inhabitants and for determining those who are qualified electors of said territory. For the purpose of taking said census, and determining the qualifications of the electors, said court shall appoint four enumerators for each five hundred inhabitants of said territory based upon the most reliable estimate obtainable: Provided, That if the territory contains less than one square mile and the county court believes the territory contains fewer than five hundred inhabitants, two enumerators shall be appointed. It shall be the duty of the enumerators so appointed to enumerate all of the inhabitants of said territory and to visit each house or dwelling therein, and to obtain the name of each known resident thereof. It shall also be the duty of the enumerators to examine the permanent registration records of the county or counties in which the territory is situate to determine which of such inhabitants are qualified electors therein and to compile and file with the county court a list of such qualified electors. Each enumerator shall receive for his services a sum per day, to be fixed by the county court, but not to exceed $10 per day, together with all reasonable and necessary expenses actually incurred in the discharge of such duties, which sum and expenses shall be paid by the county court and reimbursed to it by the city, town or village if and when the city, town or village shall become incorporated, as hereinafter provided; otherwise by the petitioners. The county court shall provide an opportunity for all qualified individuals residing in such territory, who have not been previously registered to vote, to become registered prior to the election hereinafter provided for. Upon the completion of said census and the listing of qualified electors, said enumerators shall make a report under oath to the county court that said enumeration and listing are correct, true and accurate, and do not contain the name of any individual who is not a resident of the territory, and that the list of qualified electors is true and correct, which report shall be filed with the county court within the following number of days after the appointment of said enumerators: Forty days if it is to be a Class I city, twenty days if it is to be a Class II city, ten days if it is to be a Class III city and ten days if it is to be a Class IV town or village.