Function whose logarithmic derivative is a generating function for the number of solutions of a set of equations defined over a finite field