Update avg-magnitude-and-count.pig