Doesn't count. Free to play is defined in our current and previous generations as a game that is 100% free from the start and never costs you a penny to play. You must buy D3 to play it, so it is not free to play.
Trials and Demos don't count also as they have a limit set.
youdohaveto buy the game