Currently, COUNT of a bag will ignore bags which have the first fieldas null (this stems from the fact that COUNT of a column will countnon-null columns, for sql compatibility). You may want to try usingCOUNT_STAR. This behavior is currently being reconsidered:https://issues.apache.org/jira/browse/PIG-1014 (please provide input!)