How To Count Columns In R