Number of Ends