O=C(OCc1cc(=O)n2c(n1)sc1ccccc12)c1ccc2c(=O)n3c(nc2c1)CCC3
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?