All five fingers of a detected hand are always reported (with estimated positions, if they can't be directly observed). If you want to get the extended fingers, you can use the extended() function on the FingerList from hand.fingers().
You can use Finger.type() to determine which finger it is.