Count Object In Array Javascript Methods Syntax Tree Vs Parse