Returns the monotonic counter for axis on daf. Mirrors Julia DAF:
incremented every time delete_axis is called (NOT on add_axis).
Returns 0L if axis has never been deleted (including non-existent
axes, to match wrapper semantics).
Arguments
- daf
A DafReader.
- axis
Axis name (character scalar).
Examples
# Mirrors readers.jl jldoctest at line 246.
m <- example_metacells_daf()
axis_version_counter(m, "type") # 0L
#> [1] 0
delete_axis(m, "type")
add_axis(m, "type", c("Foo", "Bar", "Baz"))
axis_version_counter(m, "type") # 1L
#> [1] 1