Adding rudimentary statistics retrieval