The previous implementation caused a buffer overflow trying to calculate non- zero counts for columns that no longer exist. (cherry picked from commit 2ac0b78739) (cherry picked from commit f4b67691c42952b44ce7dae62f5c18ed93b53521)
2ac0b78739