Need Help validating & correcting formula


I am trying to count the values in the 'Hours Worked' column for each month. The 'Date Worked' column is the date that determines the range (i.e. September 1 - September 30 2021). Having trouble finding a formula for this.

=SUMIF([Date Worked]:[Date Worked], >=DATE(2021, 9, 1), Date Worked, <=DATE(2021, 9, 30)) [Hours Worked]:[Hours Worked])