Numerical representation of intransitive preferences on a countable set