Adding class to know how many cols in current row