I prefer using sigma(4Cx,x=1->4) to get the number of possible endings, m'self. *nerd*