Hello Muks,
I think your question is how you can do that with a column view (calculation view/analytic view) and not with a "classic" database view?
Within a calculaiton view (or analytic view) you can join both tables with a join node. To get the counter information you can
1) use the "count" aggregation functionality in an aggregation node
or
2) define a calculated column in a projection node after the join node which returns always the integer value 1 -> in the aggregation node you can use the "sum" aggregation functionality for that new column to get the count.
Best regards,
Florian