Entry API refactor
EntryModel count()/summary() fix