O=C(O)/C=C\C(=O)O.OCCN1CCN(CC/C=C2/c3ccccc3CSc3ccccc32)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?