Does the Nautical Institute grandfather DP classes/time?

If by “familiarization” you mean dp time after the basic and before the advanced, yes, it can count. You need 180 days total with a minimum of 30 days after each class and a maximum of 30 days before the basic class.