`result_count = len(result)`?