Hi, Andrew—I agree with Gustavo that there is nothing grammatically wrong with the sentence you have asked about. As Gustavo says, "how hard this is" is an extraposed clause. It's what's known as an extraposed exclamative clause.
Extraposed WH-clauses, including extraposed "how"-clauses, come in two varieties: extraposed interrogatives ("It's hard to know how much this costs") and extraposed exclamatives ("It's outrageous how much this costs").