O=C(COC(=O)/C=C/C(=O)N1CCN(c2ccccc2)CC1)NC(c1ccccc1)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?