Forgive my complete ignorance, but how do they even count genes? Given a very long string of base pairs, how is it possible to know where one gene ends and the next one begins? Do genes overlap?
A gene is a code for making a specific protein. Each gene is a sequence of three-letter "words" called "codons". There are special "start" and "stop" codons which mark the beginning and end of a gene.
[1] http://genetics.thetech.org/about-genetics/how-do-genes-work