if(typeCount==null) return null If(typeCount=!0) return typcounut; else return error;