O=C(COc1ccc(Br)cc1)N1CCN(S(=O)(=O)/C=C/c2ccccc2)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?