O=C(CN1C(=O)c2cccc3cccc1c23)Nc1ccc(S(=O)(=O)N2CCOCC2)cc1
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?