Perhaps:

AJ3:
=IF($B3="","",COUNTIF($AH3, ">="&$AI3/2))
copied down
Incidentally - from what I can tell

AH4:
=IF($B3="","",COUNTA($C14:$AF4))
copied down