Backport Array#count for Tiger