[DOC] Add section on counter/metrics
Fix incorrect debug message
Add more tests regarding dynamic patterns in Pig