The number of units sold declined nearly 2% year over year in June, according to an analysis from Bain & Company and Nielsen IQ.