Countstatistics method not finished

Pushing this snippet to help me continue later on