...

Pig Error -> ERROR 1070: Could not resolve count using imports

Or: ERROR 1070: Could not resolve sum using imports COUNT() and SUM() are case sensitive, you need to capitalize...