COc1ccc2[nH]c3c(c2c1)CCN1C(=O)C(CC(=O)NCCCn2ccnc2)C[C@H](C(=O)N2CCOCC2)[C@@]31CCC1CCCC1
A rotatable bond is defined as any single non-ring bond, attached to a non-terminal, non-hydrogen atom. Amide C-N bonds are not counted because of their high barrier to rotation.  How many rotatable bonds does the molecule have?