Maybe using some counter? http://prntscr.com/9i6q5l
But the crossover... the one in "Condition" is a state - the relative position between 4 points who belong to 2 candles. The event of crossover is something else. Well, "Once per bar" turns that state into an event, but this event is "the first crossover within that candle". If you want to detect how many times one line crossed over another line, then few things must be considered, you must also look for how many times the lines went from crossover state to non-crossover state. And I don't know if this is what you want 🙂