O=C(NCCCN1CCOCC1)c1cc2c3ccccc3nc-2c(-c2cccc(Br)c2)[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?