O=C(Cn1cc(COc2ccc(C(=O)c3ccccc3)cc2)nn1)c1ccc(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?