Add operation statistics, closes #17.

New statistics option "stats ops" is now available.