Question d’entretien chez Amazon

Create an algorithm to find the length of a binary tree.