Here's an example of my problem:

To find all elements for January (including =0 values) I used the following formula which works:
=SUMPRODUCT((MONTH(Table1[DATE])=MONTH(1&P18))*(Table1[DATE]<>""))
where P18 = "GENNAIO" --> (JANUARY)
How do I know the number of records that are >0 and which are ONLY for January (also highlighted in green)?
Is there a formula that automatically returns this result (5)?
This works for me: