How to score in Chinese rules:
- Remove all dead stones from the board.
- Count all territory surrounded by alive stones of your colour (where stones in seki are considered alive).
- Count all alive stones of your colour.
- Add the territory and the alive stones together. That’s your points.
- Do the same for the opponent.
Prisoner count doesn’t matter in Chinese rules.
In Chinese rules it’s important to fill all dame (or neutral points) before passing, since they are worth one point for each stone that you play on them. In both games you could have filled the dame.
If you’re playing with Japanese rules, then you don’t count any territory surrounded by stones in seki, and instead of counting the alive stones on the board, you add the number of prisoners (including those removed in step 1) to the territory.
Since you don’t count alive stones on the board, this means that dame are not worth any points in Japanese rules. In practice both scoring methods are almost always equal.