O=C(CCCn1c(SCc2cc(=O)n3cc(Cl)ccc3n2)nc2ccccc2c1=O)NCC1CCCO1
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?