1And the LORD said unto Noah, Come thou and all thy house into the ark; for thee have I seen righteous before me in this generation.
2Of every clean beast thou shalt take to thee by sevens, the male and his female: and of beasts that are not clean by two, the male and his female.
So to get the number of Kinds you need to divide based on the ratio of clean to unclean, so there are either 7 or 14 of each clean kind and 2 or 4 of each unclean. The strict reading of the passage would be 14 clean (7 each male and female) and four unclean (2 each male and female).
What the ratio of clean to unclean is exactly is open to whatever fudge factor you want.