CCN1CCN(C(c2ccc(SC)cc2)c2c(O)cc(C)n(Cc3ccco3)c2=O)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?