Changed InputClass count name

count to layerCount