O=C(CSc1ccc2nnc(-c3ccc(Cl)cc3)n2n1)N1CCN(c2ccccc2)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?