On certain cohomology groups attached to Hermitian symmetric spaces