Picks what to count and catches stock errors before customers do.