Locator.count() reads the DOM at call time without waiting, and the
dashboard's standalone container attaches before React renders any chart
holders. In live testing this raced: some runs captured all charts, others
found 0 and fell back to the full-dashboard screenshot.
Wait for the first chart holder to attach (bounded by load_wait) before
counting; return an empty list if none appear so the caller's fallback
still engages for genuinely empty dashboards.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>