When a limit is set on number of posts or pages, are Custom

When a limit is set on number of posts or pages, are Custom Post Types counted as posts or pages?