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 "Once a Day"): "Once a Day" is a song written by Bill Anderson and recorded as the debut single by American country artist Connie Smith.
Relevant evidence: Yes