I have a dataframe which contains operations, and I want to add a column which give for each user the number of history of operations (number of rows with lower date)