introduce bower management & db count method.