COC(=O)C1=C(O)C2(C(=O)O)CC(C(=O)OC)=C(O)C(C(=O)O)(C1)C2
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?