CCN1CCCC1CN(Cc1cc2ccc(C)cc2nc1O)C(S)=Nc1ccccc1C(=O)OC
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?