The MONTH argument passed to the getPostCountByDate function is not of type numeric. If the component name is specified as a type of this argument, its possible that a definition file for the component cannot be found or is not accessible.