geom_bar() uses stat_count() by default: it counts the number of cases at each x position.
geom_col(). geom_bar() makes the height of the bar proportional to the number of cases in each group (or if the weight aesthetic is supplied, the sum of the weights)
geom_col() for the heights of the bars to represent values in the data, uses stat_identity(): it leaves the data as is.