How many Pokemon in Pokemon Platinum?

i was told 293 but i found/seen 317 and i can still get more if i want without another game or tradeing. Catcatcat87:)