fix #199 count() overload with indices and types, does not append _count suffix