Scoreboard teamkill won't affect mobs!
If putting mobs in a team with e.g. color white and then creating an objective: /scoreboard objectives add killwhite teamkill.white, the objective won't go up while kiling mobs that are in team with color white!