Return len on encountering a struct/record array in count

Actually, I probably wouldn't worry much about structured dtypes at all -- even `x.sum()` raises `TypeError`. I knew there was some reason why they are rarely used :).