Yes. Hellish Rebuke is a reaction as is Counterspell, and there is no rule that says a reaction’s trigger cannot be someone else’s reaction. Thus Hellish Rebuke can be Counterspelled.