Statistics for Domain Ordering and Box Cover Problems for Beyond Worst-Case Join Processing