renamed count to stats