Using count instead of len