Add conditional count of numbers to count command, fix wrong rescue in ColumnFilter's pivot method