COc1ccccc1N1CCN(C(=O)CCc2nnc3n(C)c(=O)c4sccc4n23)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?