numMedia cast to Integer