public static function countAll () : int
	{
        $dbObject  	= Database::getInstance();
		$sqlQuery 	= "SELECT COUNT(*) FROM ".static::$tableName;
		$resultSet 	= $dbObject->query($sqlQuery);
		$row 		= Database::fetchAssoc($resultSet);
		return (int) array_shift($row);
	}
public static function countAll () : int
	{
        $dbObject  	= Database::getInstance();
		$sqlQuery 	= "SELECT COUNT(*) FROM ".static::$tableName;
		$resultSet 	= $dbObject->query($sqlQuery);
		$row 		= Database::fetchAssoc($resultSet);
		return (int) array_shift($row);
	}
public static function countAll ( ) : int { $ dbObject = Database :: getInstance ( ) ; $ sqlQuery = "SELECT COUNT(*) FROM " . static :: $ tableName ; $ resultSet = $ dbObject -> query ( $ sqlQuery ) ; $ row = Database :: fetchAssoc ( $ resultSet ) ; return ( int ) array_shift ( $ row ) ; }
Count all database entries
@return int
Count all database entries