Move getCount, toInt, toInt64, toFloat64 helpers to dedicated file. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>