Increase the frequency of current element in suffix
if ( ! suffix_element_count . has ( arr [ i ] ) ) suffix_element_count . set ( arr [ i ] , 1 ) ; else suffix_element_count . set ( arr [ i ] , suffix_element_count . get ( arr [ i ] ) + 1 ) ; }