I am a bit confused about this system. Given a sequence of persist (P) and asyncPersist (A) command in a sequence [A, A, A, A, P, A, P] will we have a counter of 2 or 0? In other words is this just looking at the longest homogeneous prefix or the whole sequence?