O=C(O)[C@H]1C2CC([C@H]1C(=O)O)[C@@H](Br)[C@H]2N1C(=O)CCC1=O
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?