was missing .length to output number