O=C(CCCn1c(=O)[nH]c2ccc(Br)cc2c1=O)N1CCN(c2cccc(Cl)c2)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?