The packet types are determined and packets are counted on the layer 2 header.
Broad cast : packets whose destination MAC address has been set to 1
Multicast : packets with the first 8 bits of the destination MAC address and the least significant bit (Individual Group bit) has been set to 1
Unicast : All packets other than above