Kessig Dire Swine
Creature — Boar Horror
In the quiet of the Somberwald, new horrors stir.
Rulings (5)
The card types in Magic are artifact, battle, creature, enchantment, instant, kindred, land, planeswalker, and sorcery. Supertypes (such as legendary and basic) and subtypes (such as Human and Equipment) are not counted.
Trample matters only as combat damage is being assigned, before it's dealt. If Kessig Dire Swine doesn't have trample while assigning its combat damage, it won't matter if a creature dying due to combat damage causes Kessig Dire Swine to gain trample.
The number of card types matters, not the number of cards. For example, Wicker Witch (an artifact creature) along with Catalog (an instant) and Chaplain's Blessing (a sorcery) will enable delirium.
Legality
Formats by platform