COc1ccc(-c2cc(=O)oc3cc(OCC(=O)NCCN4CCOCC4)ccc23)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?