Statistics optimizations