adding provider_id and total count