leafcount supports multiple files