Under EASA you cannot train for an Aerobatics Rating until you have 40 hours post PPL issue. Therefore any aerobatics instruction prior to PPL issue does not count, and indeed the time may not be counted toward the hours requirement for the licence issue.
This seems ridiculous, but is unfortunately the way of EASA...