COc1cccc(CN(CC2CCCO2)S(=O)(=O)c2ccc(-n3cnnn3)c(OC)c2)c1
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?