Suppose again H0 artinian; let M be a graded H-module, and suppose that there exists an exact sequence of graded H-modules and homomorphisms of degree 0
0→Ln→Ln−1→⋯→L0→M→0,
where, for k=0,1,...,n, Lk is a free graded H-module generated by linearly independent homogeneous elements, of respective degrees δk,1,...,δk,m(k). Then, by remark 2 and example 2, we have
QM=long(H0).0≤k≤n∑1≤j≤m(k)∑(−1)kTδk,j,
cM=long(H0).0≤k≤n∑(−1)km(k).
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.