O=C(CCC(=O)OCc1cccc(C(=O)Oc2ccccc2)c1)Nc1cccc2ccccc12
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?