I agree with EMP. It is a Totals Query.
In a Totals Query, we use Count to count all the records in a group.
To count only part of the records in a group in a Totals Query, we can simply Sum an expression that returns True (-1) or False (0). So if we want to, we can use Sum directly on the expression without using IIF:
Records over 10 days: -Sum([User input date]-[Consigned Date]>=10)
The using of IIF is not an issue here. What is important is how to make Access recognise the user inputted date as a Date/Time data type so as to avoid the error when the query is run. As I have posed, we can use the CDate() function or the DateValue() function on the parameter value, or declare the data type of the parameter in the query.
.