Add logic for hits per line