O=C(COc1ccc2c(c1)oc(=O)c1ccccc12)NC[C@H]1CC[C@H](C(=O)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?