The rows count a straight flush (30), threes (6), a pair (1), threes (6); the columns count a straight flush (30), two pairs (3), pair (1), pair (1). Total, 78.
But the correct solution is as follows (abandoning one of the straight flushes):—
The rows count a straight flush (30), threes (6), a straight (12), threes (6). The columns count fours (16), full hand (10), pair (1). Total, 81.