. . "(f) For any office to be filled by all the voters of any other city or county, or of a councilmanic district in any city other than the city of New York, five hundred signatures;" . .