COc1ccccc1N1CCN(C(C)C(=O)N2CC(C)OC(C)C2)CC1.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?