O=C(c1ccc(CS(=O)(=O)c2ccc(Br)cc2)o1)N1CCN(C2CCCCC2)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?