Edit: Dave beat me to it, apparently I can't read.
Well-Tempered Clavier is notable for being supposedly the first book written with pieces for all keys, as well as just a really popular collection of "educational" baroque keyboard pieces.
http://en.wikipedia.org/wiki/Well-Tempered_Clavier
(harpsichord recordings of the pieces)
http://en.wikipedia.org/wiki/List_of_co ... 0.93893.29
(you can count all of the keys here)
Regarding keys, frets, and the circle of fifths...you keep adding 7, which is the number of half steps in a fifth. When you get a number that's 12 or larger you subtract 12 (that is, move down an octave). Just as there are 12 keys, there are 12 unique frets...0/E to 11/D#.
C: 8th fret
G: 3rd fret (15 - 12)
D: 10th fret
A: 5th fret (17 - 12)
E: open (12 - 12)
B: 7th fret
F#: 2nd fret (14 - 12)
C#: 9th fret
G#: 4th fret (16 - 12)
D#: 11th fret
A#: 6th fret (18 - 12)
F: 1st fret (13 - 12)
and so on.
What I always found really crazy in music class was the way that the keys progress in the number of sharps and flats, and the actual sharps and flats follow the circle of fifths. Like Key of G has one sharp, F#. Key of D has two sharps, F# and C#. It's probably just a side effect of the way piano keys are laid out but it's a neat symmetry.