Zig zag indicator data

 
How do I get the percentages of the HH and HL of the zig zag as in the example