Each of the 17 girls shakes the hand of 16 girls. Multiply those numbers and divide by 2 to avoid counting any handshake twice.
(17)(16)/2 = 136
Each boy shakes hands with exactly one girl. That is 17 handshakes. Each of these handshakes is counted only once, because we are not counting how many boys' hands shaken by the girls.
total number of handshakes = 136 + 17 = 153
My total appears to be an outlier among the responses. The discrepancy may be in the interpretation of this condition: "(E)very boy shakes hands with only a girl." To me, that sentence does not seem ambiguous in the least. Every boy shakes the hand of one girl. That is 17 handshakes, and there is no mention of any handshakes between two boys.
Follow-up:
I am not changing my answer, but now I do have to allow that there is some ambiguity in that one condition. It is given that every boy shakes hands with only a girl. I took that to mean exactly one girl. That is correct literally, but perhaps the intention was only to exclude handshakes between two boys. If that were the case, then we still would not know how many girls' hands were shaken by each boy. I see no reason to assume 17.
This is an ongoing issue with combinatorics problems. It seems that the conditions are never clear enough.