API: Add customer count to each period for sales report

Part of #4055
Merge pull request #4540 from maxrice/rest-api-sales-report-tweak

API: Add customer count to each period for sales report