The death toll from communism comes from the black book of communism which was written by a staunch anti-communist who seeked out to prove communism killed 100 million people which is why it includes nazi deaths and people who weren’t even born as victims of communism.
I think there are two separate youtube videos looking into the death toll of capitalism using the same methods the black book used and both were something like 1 billion deaths.