estimateReadingMinutes

fun estimateReadingMinutes(text: String, wordsPerMinute: Int = 200): Int

Estimates how many minutes it takes to read text, used for the "N min read" badge on a story card. Counts whitespace-separated tokens and divides by wordsPerMinute (200 is a common average for adult silent reading of prose), rounding up. Always returns at least 1 so even a one-line summary reads as "1 min read" rather than "0".