COc1ccc(N2CCN(CCCNC(=O)C3CCC(CNc4nc(S)nc5ccccc45)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?