COC(=O)c1ccc(NC(=O)C(=O)N2CCN(C(S)=Nc3ccc(OC)cc3)CC2)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?