More pokemon parsing code.

Fixed previously mentioned error, using capacity instead of count