COC(=O)C1=C[C@@H](C(=O)OC)C2C3=C(C(=O)C24CCCCC4)[C@H](C)n2c(=O)n(-c4ccccc4)c(=O)n2[C@@H]3C1
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?