Count order numbers