If I want to know a number of all files in alfresco to show on alfresco page how to do that first?
Now I am not find api access to database and if I find api, what should I do next?
easy way, you can query all type in database by api : localhost:8080/alfresco/service/cmis/query?q={q}
q is CMIS Query Language for alfresco. example SELECT * FROM cmis:document
it selects all properties for all documents
see more CMIS Query Language