Added count methods for entries
Added counts to feeds, changed mongo references to db