Fix #7319: GET /api/contacts return total as string