Added incompleteCount() and filter function