predic type pat num pat pattern pat pattern count num pat 