Original: Counties are called earldoms in post-Celtic Britain, Ireland and France - the term is from Old Norse jarl and was introduced by the Vikings - but there is no correlation between counties and earldoms.
Simplified: In the 1970s in Northern Ireland and in the 1990s in the Republic of Ireland, there was a change in the county numbers and borders (where they started and finished).