O=C(COc1ccc(OCC(=O)N2C(=O)CS/C2=N\c2ccccc2)cc1)N1C(=O)CS/C1=N\c1ccccc1
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?