≢ — Tally / Not match

Function. Keys: Alt-= /. Ranks: ∞ monadic, ∞ ∞ dyadic

≢Y counts major cells: first-axis length, or 1 for a unit.

≢2 3⍴0             ⍝ 2ₓ
≢42                ⍝ 1ₓ
≢⍬                 ⍝ 0ₓ

X≢Y negates match.

1≢,1               ⍝ $t