Allow _count to take preference parameter. [#2698]