another good way to identify the key of a song quickly is to take a part of the melody and try to make up an ending for the song. the tonic of a key will feel the most "right", so the very last note of the ending you imagine will likely be the tonic. Once you can hum the note that resolves the melody the best, you can try to find that note on your piano and identify the name and that's your key signature!