Two, male and female.
Connectors with prongs are called male gender and those with holes female gender plugs. When you push them together they slot into each other allowing signals or current to flow. There are even connectors which have both prongs and holes and these are called bi-gender connectors.
Being an inncoent young man I cannot for the life of me understand how the names came about.