fix pig ETL to output correct stats