O=C(NCCN1CCCCC1)c1cccc2c1C(=O)c1ccc(N3CCCC3)cc1S2(=O)=O
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?