Enumerating cyclic orientations of a graph