Refactor/list stock count by interval