In fact, witcher games are based on the books of the Polish Andrzej Sapkowski, which is 8.
The first two, The Last Wish and The Sword of Destiny are short stories that serve to "make" the characters as well as highlight their personalities, values, ideals and as a starting point for the story...