Refactor/historical stock count to confirmation