COC(=O)[C@H]1C[C@H](OC(=O)NC2CC2)[C@@]2(O)CN(S(=O)(=O)c3ccc(C)cc3)CC2[C@H]1C(=O)OC
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?