Psychic Spiral won’t be shuffled into your library, and it won’t be counted when determining how many cards the target player puts into their graveyard. It will be put into your graveyard after you follow its instructions.