Count Objects In Array Javascript Append Strings