Amazon interview question

Shared example log file and asked to count the line using the know language