01: Use += instead of count(element) in frequencies

Do not use count(element), but instead increase with one on each occurrence.
01: Use at instead of [] in drop_every
01: Use reject instead of select in drop_every

(it is closer to the problem)
01: Use better names in drop_every