COC(=O)c1ccccc1C(=O)N1CCOCCN(C(=O)c2ccccc2C(=O)OC)CCOCC1
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?