Nginx log parser with total count output