I would type hint the result: `return (int) ...`