removed variable that calculates number of columns and replaced with dbOverallColumns.
Merged Changes.