change Count() to Len()