OK, here's something I got wondering about. Say you acquire however many levels in a base class that has no spellcasting, then, once you meet the prerequisites, join a PrC that does not have spellcasting as a prereq, but grants increases to spellcaster levels. Then say you join a spellcasting base class later. Do the levels you acquired in your PrC still count towards your spells per day and spells known and the like, even though you gained them before the class that lets you cast spells?