"if a charge of theft alleges that the property referred to therein was stolen on one occasion and the evidence proves that the property was stolen on different occasions the accused may be convicted of the theft of such property as if it had been stolen on that one occasion"