CCC(C(=O)NCCCN1CCN(CC)CC1)n1nc(C)n2c(cc3occc32)c1=O
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?