You need some sort of cue as to how many attacks there will be. The first enemy is just one. The second alternates between 1 & 3 but I simply had to figure that out after losing a few times. The third enemy I gave up on as I didn’t want to spend time learning the pattern.
Also, I couldn’t quite figure out how holding the button at the end works.