Add statistics feature