O=C(COc1ccccc1)N1CCN(CCN2C(=O)c3cccc4cccc(c34)C2=O)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?