In CS2, you can check the amount of damage you've dealt in the previous round at the top of your screen under the enemy's avatar. To see the total damage, check the scoreboard by hitting "Tab" (default bind).