Breakdown of tā zhǐ xiǎng mài dōngxi, fǎn'ér mǎi le gè gǔdǒng.
个gè
noun classifier
Used when counting nouns or when specifying a specific instance of a noun.
There are also classifiers for people, for bound items such as books and magazines, for cups/glasses, etc.
The classifier 个 is a general one that can be used for any of these.
他tā
he
了le
perfective particle