midi: tick count for multiplet analysis