The number of allowances for you would depend on your individual situation. However, IRS removed the withholding allowances a few years ago. The change streamlined the W4 allowing for an improved method of withholding taxes from your wages.
TurboTax’s W4 Calculator will provide the corresponding line number with the amount to report based on the information entered. If you want your federal withholding to be more accurate, gather your paycheck stub(s) and complete a new Form W4. You can make changes after the adjustments take effect.
https://turbotax.intuit.com/tax-tools/calculators/w4/