O=C(CN1C(=O)CSc2cc(S(=O)(=O)N3CCCCCC3)ccc21)NCCc1ccccc1
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?