O=C(O)[C@@H]1CCCN1S(=O)(=O)c1cccc(S(=O)(=O)N2CCC[C@H]2C(=O)O)c1
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?