Area scoring counts the number of points a player's stones occupy and surround.
It is therefore possible to allow a tactical loss when it confers a strategic advantage.
However, matters may be more complex yet, with major trade-offs, apparently dead groups reviving, and skillful play to attack in such a way as to construct territories rather than kill.