fix bug where done() is called multiple times

Before, if you had multiple fixture files, done() would get called once per file, leading to later tasks not running completely. This patch counts the number of files to load and calls done() only once when all have been loaded.