O=C(OCC(=O)N(CCc1ccccc1)Cc1ccccc1)c1cccc(S(=O)(=O)N2CCOCC2)c1
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?