Implement `stats.py`

Implements Stats and Stat object and adds unit testing for them.

Merge request reports

Loading