Bound Analysis of Number Configuration for Reflecting Elements in IRS-Assisted D2D Communications