How to Get the Length of a JavaScript Object | CodeTrail