Counting: fixing some (hopefully all?) causes of segfaults due to boxes