O=C(OCC(=O)N1CCOCC1)c1cc(S(=O)(=O)N2CCOCC2)c(Cl)cc1Cl
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?