The Hit Me Hard and Soft single snuck past Sabrina Carpenter’s “Espresso” during the final weeks of the year