As shown in the figure below, a polyhedron with $26$ faces floats in empty space with two horizontal faces that are regular octagons. Adjacent to the top face there is a ring of eight slanted congruent trapezoids, each sharing an edge with the top face, and adjacent to the bottom face there is a similar ring of eight slanted trapezoids. Between these two rings there is a middle ring of eight vertical square faces, each sharing an edge with one face of the top ring and one face of the bottom ring. How many ways are there to move from the top face to the bottom face via a sequence of adjacent faces (faces sharing an edge) so that each face is visited at most once and no move goes up, from a lower ring to a higher one?