Handle stat per statement type
Merge pull request #2 from rjuju/stat_by_cmdtype

Handle stat per statement type