O=C(CN1C(=O)CCSc2ccc(S(=O)(=O)N3CCCC3)cc21)Nc1ccccc1Cl
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?