function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Timothy Williams 45Timothy Williams 45 

Do lookup fields and rollup fields count as fields for an object?

When I am counting the number of fields in an object, trying to keep within the limit for my license, do lookup fields and rollup fields count in that number? 
ShirishaShirisha (Salesforce Developers) 
Hi Timothy,

Greetings!

Yes,they do count against the Maximum number of fields per an Object.

Reference:https://help.salesforce.com/articleView?id=overview_limits_general.htm&type=5

Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
zainab khanzainab khan
While most people seem to be preoccupied with the issue of whether “Does Green tea have Caffeine (https://www.thedailynewstimes.com/2020/06/05/does-green-tea-have-caffeine)”? There are several other characteristics of this popular beverage. One fact about green tea is that it comes from the same plant as black tea.