first implementation of stats in reference of issue 19
Bump to version 3.0.18