updateCount

fun updateCount(count: Long, seq: Long): Boolean

updateCount updates the count and sequence number if the sequence is newer. Returns true if the count was updated, false if the update was ignored.