code: public static int countByC_LtD_S(long CPDefinitionId, Date displayDate,
  		int status) {
  		return getPersistence()
  				   .countByC_LtD_S(CPDefinitionId, displayDate, status);
  	}
docs: Returns the number of cp instances where CPDefinitionId = &#63; and displayDate &lt; &#63; and status = &#63;.
  
  @param CPDefinitionId the cp definition ID
  @param displayDate the display date
  @param status the status
  @return the number of matching cp instances