Fixed imports causing dynamic dependencies even when their dependent lookup task was solved.
Return number of task evaluations.