18 stats module

This is an early implementation peer review
Would be more efficient to pop isSupported and length into a variable.