Matrix Sensor 3D Counting