NAME

Catmandu::Fix::count - replace the value of an array or hash field with its count

SYNOPSIS

# e.g. tags => ["foo", "bar"]
count(tags) # tags => 2

SEE ALSO

Catmandu::Fix