Many. It's fine to try different things. A lack of clear career trajectory will negatively impact you in some respects, but as long as you can explain why you made the choices you did you'll be okay up to a point. You want to avoid it seeming like you have no longevity as an employee; you will not do well if they think you are likely to leave after X time and it gets harder to persuade them otherwise with each short-term job.
A lot of this is sector/level dependent, but the tl;dr is that a few different jobs of 1+ years duration will be fine.