Implement advanced statistics