COc1ccccc1COCC(O)CNCC1(N2CCCCC2)CCCCC1.O=C(O)C(=O)O
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?