It's a downward slash, not upwards. But yeah, it's triggered by hitting the attack button right after the parry.
That makes sense. If you can only counterattack off the final hit in an enemy's combo, that's already consistent. It's just consistent in a way players will learn over time. A lot of games have mechanics like this, or ones where you can counter some enemies anytime, but others only off certain attacks.