County Cork is the second most populous counties in the Republic of Ireland .
In 2011 , the county 's population was 518,128 making it the second most populous of the counties in the Republic of Ireland .
County Cork