COc1ccccc1CN1CC(C(=O)N2CCC(C(=O)c3ccccc3)CC2)CCC1=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?