1. A method comprising: specifying a class network; specifying a process hierarchy; acquiring pixel values of an image that includes cell components, wherein certain of the cell components are marked using fluorescence in situ hybridization; generating a data network based on the class network and the process hierarchy; and counting the marked cell components using the data network.