If the number doesn’t exceed 480 days, all other requirements are met and no other violations are registered, immigration authorities will allow you to obtain citizenship.
If you were absent from the UK for more than 480 days for any reason, including objective ones that don’t depend on you – for example, because of a long illness or service in the British military forces abroad – you should contact a qualified immigration advisor. You might need to provide the Home Office with additional documents and certificates to resolve the matter in your favour.
At the same time, there are immigrants whose stay in the UK is not counted as the time necessary to obtain permanent residence and naturalisation.