Difference between n_genes and n_genes_by_counts

Hi,

What is the difference between n_genes and n_genes_by_counts?

Which would I use to determine the average number of genes/cell?

Thank you