Statistics for Imaging and counting of targets with a high resolution multibeam sonar