Galois cohomology and class number in constant extension of algebraic function fields