@Override
	public long dynamicQueryCount(DynamicQuery dynamicQuery,
		Projection projection) {
		return commerceTierPriceEntryPersistence.countWithDynamicQuery(dynamicQuery,
			projection);
	}
@ Override public long dynamicQueryCount ( DynamicQuery dynamicQuery , Projection projection ) { return commerceTierPriceEntryPersistence . countWithDynamicQuery ( dynamicQuery , projection ) ; }
Returns the number of rows matching the dynamic query.

@param dynamicQuery the dynamic query
@param projection the projection to apply to the query
@return the number of rows matching the dynamic query