O=C(CN1CCN(S(=O)(=O)c2cccc(Cl)c2)CC1)NCC1(N2CCOCC2)CCCCC1
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?