Made perf counter changes

It would be safer to return an empty list