Novak Djokovic has surged past Roger Federer for the most grand slam matches played while beating Jaime Faria to move into the Australian Open third round.