CCOC(=O)N1CCN(C(=O)c2ccc(CS(=O)(=O)c3ccc(OC)cc3)o2)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?