adding entry count to stats