convert arrays to a number length
mixpanel: swap to using ianstormtaylor/is for type checking
Merge pull request #374 from segmentio/fix/mixpanel-array

convert arrays to a number length