From ríomh (“enumeration, calculation”), from Old Irish rím, from Proto-Celtic *rīmā (“number”) (compare Welsh rhif).
ríomh-