Inverse 2 columns
Added count by day functions