Conversation so far:
how many sharps are in the key of A?
The key of A major contains 3 sharps.
what are the sharps in the key of A?
Those sharps would be F#, C#, and G#.
how is the key of A spelled?
A major is spelled: A, B, C#, D, E, F#, and G#.
how about how many sharps are in the key of B?
The key of B contains five sharps.

Question: what pitches are part of the key?
Self-contained rewrite: what pitches are part of the key of B?