public static int countByC_LtD_S(long CPDefinitionId, Date displayDate,
		int status) {
		return getPersistence()
				   .countByC_LtD_S(CPDefinitionId, displayDate, status);
	}
public static int countByC_LtD_S ( long CPDefinitionId , Date displayDate , int status ) { return getPersistence ( ) . countByC_LtD_S ( CPDefinitionId , displayDate , status ) ; }
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