Revives and Death Counts

A random question for someone that hasn’t gotten to pick up the game yet… does being revived by a teammate in campaign still count toward your “Deaths” statistic or do you have to actually fail to be revived and die before it will count? I know what the logical answer would be, but I assume nothing anymore. Thanks!