The final elected seats to the Irish parliament’s upper house have been filled following a marathon counting process.