countMigrations function countMigrations(TimeTree tree) The number of single-child nodes in the tree where the ‘deme’ attribute changes. Parameters TimeTree tree - the tree. Return type Integer Examples simpleStructuredCoalescent.lphy