build has.lengthOf() function with test -> green