Informaiton_schema가 주어진 경우 어떻게 columns 개수를 셀까?

DataCamp 문제를 참고하자
https://campus.datacamp.com/courses/introduction-to-relational-databases-in-sql/your-first-database?ex=3

** Information_schema에 대한 내용은 다음의 링크를 참조
https://www.sqlshack.com/learn-sql-the-information_schema-database/

Information_schema가 주어졌을 경우

# 특정 칼럼의 이름이 주어졌을 경우
select count(COLUMN_NAME) 
from information_schema.columns
where table_schema = 'schema_name'
and table_name = 'table_name'
group by COLUMN_NAME
#모든 컬럼의 개수를 셀 경우
select count(*)
from information_schema.columns
where table_schema ='schema_name'
and table_name = 'table_name'