Nouns ending in -té are usually feminine, but le comté is masculine.
Comté is one of the rare exceptions: learn it as it is.
Combien de comtés y a-t-il en Floride ?
How many counties are there in Florida?
Sami vivait dans un comté très rural.
Sami lived in a very rural county.
Combien la Floride compte-t-elle de comtés ?
How many counties are there in Florida?
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.
Try the first lesson free