O=C(NNc1cc(N2CCOCC2)nc(N2CCOCC2)n1)C12CC3CC(CC(C3)C1)C2
A rotatable bond is defined as any single non-ring bond, attached to a non-terminal, non-hydrogen atom. How many bonds in the molecule are rotatable?