simplify the method _entry_count by using search_count and by removing try/except/pass bzr revid: ged@openerp.com-20140507134544-oi3y8hwf16nituki