what is the use of .length in array-filters
const filteredMatchedProfile=matchedProfiles?.filter( (matchedprofile)=> matchedprofile.matches.filter( (profile)=> profile.user_id==userID).length>0)
use of .length filter in arrays