Hi, I have a question about countOver function. Say I have the following table:

c1/c2 are dates and *_co are count over values. They are counting the id with MM/YYYY values of their respective date columns.
What I want to do is to have a column where I count c1 with c2s MM/YYYY partition. If this works, this new column should hold following values:
| Expected | – |
|---|---|
| 0 | // No Aug-2024 in c1 |
| 0 | // No Jul-2024 in c1 |
| 1 | // There is 1 Jun-2024 in c1 |
| 1 | // There is 1 Jun-2024 in c1 |
| 1 | // There is 1 Jun-2024 in c1 |
| 2 | // There are 2 May-2024 in c1 |
| 0 | // No Apr-2024 in c1 |
| 1 | // There is 1 Mar-2024 in c1 |
I really hope this is doable. Ideas with countOver or any other approach is much appriciated!
Thanks in advance!
