Hi @tbabe12 ,
Sorry for my late reply.
I now understand your requirement and I think the post provided in my first reply did match your need. Have you checked my solution in that thread?
Anyway, I did a simple test on my side for your reference.
1. Here is my data structure, one idcliente with more than one address1:

2. Here is my first gallery. The Items property of this gallery is:
Distinct(Clientes,idcliente)
For you, this should be:
Distinct(WorkOrder,jobaddress)

Inside this gallery, I add a label control and set its Text property to:
CountIf(Clientes,idcliente=ThisItem.Result)
For you, it should be:
CountIf(WorkOrder,jobaddress=ThisItem.Result)

3. Here is my second gallery, the Items property of the second gallery is:
Filter(Clientes,idcliente=Gallery4.Selected.Result)
For you, it should be:
Filter(WorkOrder ,jobaddress =Gallery4.Selected.Result)

Refer to above solution and do changes based on your actual needs.
Best regards,
Allen