Most recent stock count and stockout alerts

Implementation of #450 and #451.