return doc["title"].value.length() + params.name.length();