O=C(NCCC(=O)N1CCN(c2ccccn2)CC1)c1ccc([N+](=O)[O-])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?