O=C(O)C(=O)O.c1ccc(CN2CCN(C(c3ccccc3)c3ccccc3)CC2)cc1
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?