Add nb_uncommitted() methode