fixes counting of shortened properties by not counting commas