Result length checking.