Return len on encountering a struct/record array in count
Do not handle struct arrays
Clean up tests
Merge pull request #734 from cpcloud/hotfix

Explicitly fail on encountering a struct/record array in count