Modularized name_tag; char_count can be determined using len(), so no need to pass it as an argument