Counting States of Near-Extremal Black Holes.