changed Count() to Len()