O=C(C1=COCCO1)N1CCN(c2nc3ccc([N+](=O)[O-])cc3s2)CC1
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?