added document count filter