C[C@@]12C[C@H]3OC(=O)[C@@H]1CO[C@]14O[C@]56[C@H]2[C@]1(O)[C@H](C[C@@]5(O)C(=O)O[C@@]36C)[C@H]1[C@H]4CC=C2CC=CC(=O)[C@@]21C
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?