Scoring happens during play and again at the end
Cribbage players peg points while they play cards, for fifteens, pairs and runs made in the shared count, and again in the show, where they count the combinations in their own hands. Both stages share some features but reward different skills.
From Spadaccini, 2005, p. 284. Spadaccini, S. (2005). The big book of rules: board games, kids' games, card games, from backgammon and bocce to tiddlywinks and stickball. New York: Plume. ISBN 978-0-452-28644-3.