To identify key signatures, you need to count the number of sharps or flats printed by the treble clef at the beginning of a piece of sheet music. The number of sharps or flats indicates which key the music is in. This system is explained in more depth in the guide above.