It may depend on how many minutes he was actually on the pitch. I've noticed that later substitutions are not always included.
Those that don't get a rating in the match (a rating of 0) are not included - yes, otherwise it counts. I believe they need at least 15 mins of playtime.