fixing array.length only when array of objects
updating comment
Merge pull request #385 from segmentio/fix/mixpanel-arrays

fixing array.length only when array of objects