To take advantage of that experience , the U.S. military and NATO have been mapping the approximately 400 tribes and their many sub-tribes across Afghanistan , according to a U.S. intelligence official familiar with the effort .