Check data count first.