The current roll up procedure considers all actions taken for a given step to be temporally contiguous. This is pretty often the case for you're average tutor log but may not be true for all use cases. A better method would be to do attempt counting at the problem level and allow for steps to be out of order.