fixed keyError from prev commit by adding ['counts']
fixed keyError from prev commit by adding ['counts']

sunjerry019/photonLauncher,sunjerry019/photonLauncher,sunjerry019/photonLauncher,sunjerry019/photonLauncher,sunjerry019/photonLauncher