First recorded by Ray Price (C&W #2 1959).
Other hit version by Guy Mitchell (US #1/R&B #19/UK #5 1959).
From the wiki: “‘Heartaches by the Number’ was written by Harlan Howard and first recorded in 1959 by Ray Price (‘Make the World Go Away‘, ‘(You’re the) Best Thing That Ever Happened’). His recording was a Top 5 Country single. The most successful version was the cover recording by Guy Mitchell (‘Singing the Blues‘), also produced in 1959. Mitchell’s rendering topped the Billboard Hot 100 for two weeks in December 1959. It also was a Top 5 UK Single and a Top 20 R&B hit.”
Guy Mitchell, “Heartaches by the Numbers” (1959):