Question: Who wrote the song that was recorded as the debut single by American country artist Connie Smith, that was only surpassed as most weeks spent at number one by a female country artist by a song recorded  by American singer-songwriter Taylor Swift for her fourth studio album, "Red"? 
Sentence (from "Connie Smith albums discography"): After the success of her 1964 single "Once a Day", Smith's self-titled debut album was released in March 1965 on RCA Victor Records.
Relevant evidence: No