Fix frequence count that was using an incorrect range
Adds ranked_data tab