S=C(NCCCCN(Cc1ccc(Cl)cc1)c1ccc(Br)cn1)NCCCc1cnc[nH]1
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?