unless your county exceeds...
CA = 11362.77. (a) A qualified patient or primary caregiver may possess no more than eight ounces of dried marijuana per qualified patient. In addition, a qualified patient or primary caregiver may also maintain no more than six mature or 12 immature marijuana plants per qualified patient.
However this is SB420 and this was recently struck down as it was NOT voter approved, however the Attorney General released his opinion and basically just told law enforcement to look at the limits set forth in SB420 for reasonableness test. So, it's probably a good idea if you intention is not to be a martyr for the pot cause and you want to lay as low profile as possible then stick to those guidelines until something changes.
What you wrote I think will mislead many people... because in truth, the limit is set by your doctor based on your medical need for the plant, your method of growing, and How often you plan on harvesting. if your best method of growing is SOG (or it is the only method available to you) than your going to need a lot more than six flowering plants. The attorney general advised officer to "use their discretion" regarding the amount of plants and what they believe to be the intended purpose of having so many plants. There is no Legal limit, and for a state or local officer to try to bust you for having say 20 flowering plants, he is going to need more than just a number, like prepackaged sacks, or client lists or something else to prove that you are selling. If an officer busts you for just the number of plants, in this example 20, then he is looking at a whole bunch of trouble coming his way. I would recommend that if you are well versed in law and the legal system, then you grow however many you need/want, and deal with the cops if/when they come. But, if your not "legal minded", I would recommend staying right at or around 10 plants, or getting your doctor to specifically put on your recommendation how many plants you are/will be growing.