aggregate by store
refactored into LogParser class