There's probably a better way but at first blush this is how I would do it:
Add another column with the formula =WEEKDAY(A1,2), copy it down the sheet. Then your formula is:
Code:
=COUNTIFS(D:D,">5",C:C,"<>"&"")
or
Code:
=SUMPRODUCT((D:D>5)*(C:C<>""))