Advanced analytics for Claude Code usage with cost optimization, conversation length analysis, and rate limit tracking