COc1ccc(C(=O)OCc2nnc(-c3ccccc3)o2)cc1S(=O)(=O)N1CCOCC1
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?