NAME

Catmandu::Fix::count - replace the value of an array or hash field with it's count

SYNOPSIS

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

SEE ALSO

Catmandu::Fix