To keep count / To keep track
Means keeping a record or tally of something. Llevar la cuenta de algo = to keep track of something.
Are you keeping count of how many times it's happened?
It's difficult to keep track of all the expenses.
—How much have they got? —I've lost count.