Moved count_cols out of statistical tests in core.py:process_pair.