IMO, never factor in the state's mag limit when choosing a pistol. All makers I've dealt with manufacture 10rd factory mags for states like CA and HI. No need to pay for blocking if they are in stock.
If the pistol is what you want, it shoots well, is reliable, and within your means, don't leave the final decision up to number of rounds.
Some pistols hold 10 rds standard, some more, and some less. If you think it's a priority, buy extra mags and keep them close to the pistol for reloads.
I think the more rounds, the better, in most cases. But, none of the more popular guns will be more than 1-2 rds fewer than 10, and none will be more than 10 unless you travel out of state with "kits".
YMMV.