in reply to Autovivification Confusion

As perl tells you, it is a syntax error. Try this instead:
my %count = (abc => 0);
See perldata for ways to initialize a hash.