The "attack" command seems tied to the owner reaching a level in dog training, it's not a trick the dog learn, but it shows up for every dog owned once the sim get the right level.
Tricks (without attack) : 56 learned (63 with attack) so 112 points (or 126 with attack)
Behaviors : 20 for 20 points
Total : 132 points. (or 146)