Added grouped statistics