Added function to query the number of faces.