O=C(NCc1cccnc1)c1ccc(Cn2c(=S)[nH]c3ccc(Br)cc3c2=O)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?