X-Ray Component Counting System