ImplContainer::getEntities use size_t instead of int for 'nT'

This fixes a warning on windows.