CCN1CCCc2cc(CN(CCN3CCOCC3)C(S)=Nc3ccc(OC)c(Cl)c3)ccc21
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?