@noisneil Please see the new topic Measuring the number of samples between two points in a Logic Pro project
For more information, see the wiki Searching the Forum for Answers section.