COC(=O)C1CCN(C(=O)COC(=O)c2cc(-c3cccs3)nn2-c2ccccc2)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?