Keep total count in pd structure.