hi L, assuming your data starts from A2:A10, you can try:
=SUMPRODUCT((A2:A10=DATE(2012,7,25))*(1/COUNTIF(C2:C10,C2:C10)))