The following formula returns 59:
Formula: copy to clipboard
=SUMPRODUCT((List!H5:H64<=List!I5:I64)*(List!H5:H64< List!D2))

Let us know if you have any questions.