get/count all for the period