CCCCn1c(SCC(=O)c2c(N)n(C3CC3)c(=O)[nH]c2=O)nc2cc(S(N)(=O)=O)ccc21
A rotatable bond is defined as any single non-ring bond, attached to a non-terminal, non-hydrogen atom. Amide C-N bonds are not counted because of their high barrier to rotation.  How many rotatable bonds does the molecule have?