add code statistics shell for p4