How many events can be recorded in Database?