COc1ccc2[nH]c(SCC(=O)c3c(N)n(C4CC4)c(=O)[nH]c3=O)nc2c1
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?