Added getPlayerFieldCount and getPlayerFields to the API (closes #594)