Implement stat calculation methods, #240