C=C1[C@H](OC2OC(CO)C(O)C(O)C2O)[C@]23C[C@H]1CCC2[C@]1(C)C(CC[C@@]2(C)C(=O)O[C@H](O)[C@H]21)[C@@H]3O
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?