I am writing an application to take care of the renting for rooms (and beds in each room). So I have a table with all the rooms and another with all the beds (with a relation between rooms and beds).
Now I want to display the number of beds in each room and this after making a selection of the beds (mobility: normal, wheel chair, …) - i.e.: alle beds accessible for persons with wheel chairs.
The counter fields always displays the total amount of beds, not the amount of beds in the selection.