Getting statistics. Check documentation: Getting statistics